﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Web.Controllers
{
    public class IntroduceController : Controller
    {
        private readonly Manager.BLL.Admin.M_IntroduceBll bll = new Manager.BLL.Admin.M_IntroduceBll();
        //
        // GET: /Introduce/

        public ActionResult Index()
        {
            if (bll.GetRecordCount("") > 0)
            {
                Manager.Model.Admin.M_Introduce introduce = bll.GetModel(1);
                return View(introduce);
            }
            else
                return View();
        }

    }
}
